package com.allenkerr.app;

import com.allenkerr.client.cxf.HelloCxfWebService;
import com.allenkerr.client.cxf.HelloCxfWebserviceImplService;

/**
 * Created by 小柯(Allen Kerr) on 17.5.16 12:28.
 */
public class HelloCxfApp {

    public static void main(String[] args) {
        HelloCxfWebserviceImplService service = new HelloCxfWebserviceImplService();
        HelloCxfWebService proxy = service.getHelloCxfWebserviceImplPort();
        String result = proxy.sayHello("CXF");//中文还是乱码！
        System.out.println(result);
    }

}
